CHAPTER 2 : Integrating SNiFF+J with Visaj |
The Visaj integration with SNiFF+ allows you to combine Visaj's graphical GUI design features with SNiFF+'s source code engineering functionality. The symbol information and inheritance relationships of Visaj generated source code can therefore be directly browsed, version controlled, and edited in SNiFF+.
Note - The Visaj Resource Bundle Editor, Image Editor and Project Window are currently not part of the SNiFF+ Visaj integration.
Note - Once Visaj is selected as part of the SNiFF+ installation it is automatically installed on your computer, you need not install Visaj separately.
Note - You can download the JDK from http://java.sun.com
For JDK 1.2 users
We suggest that you do the following to improve overall performance.
In the SNiFF_DIR/bin/runvisaj.sh script, add the following option:
after javaw
In the SNiFF+ Project Editor:
1. | Make sure that the relevant SNiFF+ project is highlighted in the Project Tree. |
2. | From the menu, choose either |
3. | In the dialog that appears, enter a name for the new project and press Ok. |
4. | Choose Project -\> Save <Projectname> to save the modified project. |
First, copy your Visaj project to your SNiFF+ project directory. Make sure that the Visaj project file type (.vcl
) and the Java file type (.java
) are part of the SNiFF+ project. If they aren't, add them to the project. For details, please refer to the SNiFF+ User's Guide.
Then, in the SNiFF+ Project Editor:
1. | Make sure that the relevant SNiFF+ project is selected in the Project Tree. |
2. | From the menu, choose Project -\> Add/Remove Files to/from <Projectname>. |
3. | In the Add/Remove Files dialog that appears, select the Visaj project file, press the Add button, then press Ok. |
4. | Choose Project -\> Save <Projectname> to save the modified project. |
In any SNiFF+ tool, choose Tools -\> Visaj
OR
In the SNiFF+ Project Editor, double-click on the Visaj project file
Java code is automatically generated and stored in your SNiFF+ project directory when you
A custom menu called SNiFF+ is available in Visaj's Class Editor. The menu allows you to directly
For a description of the menu commands in the SNiFF+ menu, please see "The SNiFF+ Menu" on page 203.
In the SNiFF+ Visaj integration, menu entries for the above tools don't appear in the Class Editor.
The rest of this manual is based on the original Visaj documentation therefore please ignore documentation related to the tools which aren't supported in this integration, i.e., those mentioned above.
Note - In the SNiFF+ Visaj integration, java code is automatically generated and stored in your SNiFF+ project directory, for details please see "Java code generation" on page 11.